package com.xingda.packing.dmss.minitor.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingda.packing.dmss.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author anxiaoning
 * @since 2021-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class PkTask extends BaseEntity {

    private String taskName;

    private String pkPacking;

    private String pkInvBasDoc;

    private String pkDeptDoc;

    private String pkCorp;

    private String pkCalbody;

    private Integer planId;

    /**
     * 状态(1未开始2执行中3已完成4已停止)
     */
    private Integer state;

    private String boxNo;

    private String customerName;

    private Integer fixedLength;

    private String specifications;

    private String invspec;

    private String surfaceLr;

    private Integer wheelTypeId;

    private String wheelTypeName;

    private String wheelTag;

    private String wheelTagMap;

    private Integer boxWheelSum;

    private Integer layer;

    private Integer initWheelCount;

    private Integer initLayer;

    private Integer floorCount;

    private String boxDescription;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private Integer isCurrentFinished;

    private Integer type;

    private boolean isUpload;
    private Integer boxLocationId;
    private boolean isCustomer;
    private String palletType;
}
